package com.atguigu.order.feign;

import com.atguigu.servicebase.vo.UcenterMember;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

@Component
@FeignClient("service-ucenter")
public interface UcenterFeignService {
    @PostMapping("/ucenter/member/getInfoUc/{id}")
    public UcenterMember getInfo(@PathVariable String id);
}
